<template>
  <div>
    <div class="xian"></div>
    <el-card class="box-card">
      <el-form :inline="true" class="demo-form-inline timeSelect">
        <el-form-item label="商户名称" class="tabItem defualtInput">
          <el-input class="inputMax"></el-input>
        </el-form-item>
        <el-form-item label="开始时间" class="tabItem calendarItem">
          <el-date-picker type="date" placeholder="2018-03-12" class="smallInput"></el-date-picker>
        </el-form-item>
        <el-form-item label="结束时间" class="tabItem calendarItem">
          <el-date-picker type="date" placeholder="2018-03-12" class="smallInput"></el-date-picker>
        </el-form-item>
        <el-form-item class="tabBtn">
          <el-button type="primary" icon="el-icon-search">搜索</el-button>
        </el-form-item>
        <el-form-item class="tabBtn">
          <el-button type="primary">导出结果</el-button>
        </el-form-item>
      </el-form>
      <div class="tip">温馨提示：虚拟币不能参与分账</div>
      <el-table :data="tableData" class="orderTable orderTable2">
        <el-table-column prop="orderTime" label="日期" align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="orderNum" label="订单编号" align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="hotelName" label="商户名称" align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="hotelAd" label="投放酒店" align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="vMoney" label="虚拟币消费小计（元）"  align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="rMoney" label="现金消费小计（元）"  align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="proportion" label="分成比例"  align="center" style="width:25%">
        </el-table-column>
        <el-table-column prop="moneyPro" label="现金分成小计（元）"  align="center" style="width:25%">
        </el-table-column>
      </el-table>
      <div class="pageBox">
        <el-pagination @size-change="handleSizeChange" @current-change="handleCurrentChange" :current-page.sync="currentPage3" :page-size="100" layout="prev, pager, next, jumper" :total="1000">
        </el-pagination>
      </div>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      currentPage3:1,
      tableData: [
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        },
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        },
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        },
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        },
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        },
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        },
        {
          orderTime: "2018-09-22",
          orderNum: "in09435834589003490500",
          hotelName: "九寨沟风景区",
          hotelAd:"w酒店",
          vMoney: "99.90",
          rMoney:"3455.00",
          proportion:"40%",
          moneyPro:"566.00"
        }
      ]
    }
  },
  methods:{
    handleSizeChange(){

    },
    handleCurrentChange(){

    }
  }
}
</script>
<style lang="scss" scoped>
@media screen and (max-width: 1800px) {
  .timeSelect .el-form-item{ margin-right: 5px;}
  .smallInput{ max-width: 140px;}
}
@media screen and (max-width: 768px) {
  .smallInput{ max-width: none; width: 100%;}
}
</style>
